<template>
  <md-card>
    <md-card-header data-background-color="green">
      <h4 class="title">日志{{this.$route.query.flg}}</h4>
    </md-card-header>
    <md-card-content>
      <div>
        <md-table v-model="logdata">

          <md-table-row slot="md-table-row" slot-scope="{ item }">
            <md-table-cell md-label="日期">{{ item.CREATEDATE }}</md-table-cell>
            <md-table-cell md-label="日志时间">{{ item.CREATETIME }}</md-table-cell>
            <md-table-cell md-label="操作用户">{{ item.USERNAME }}</md-table-cell>
            <md-table-cell md-label="操作岗位">{{ item.STATIONCD }}</md-table-cell>
            <md-table-cell md-label="日志内容">{{ item.logtext }}</md-table-cell>
          </md-table-row>

        </md-table>
      </div>
    </md-card-content>
  </md-card>
</template>

<script>
export default {
  props: {
    logdata: null
  }
}
</script>
